package com.bird.设计模式.结构型.代理模式;

/**
 * @data 2022/3/16 15:02
 * @author: bird
 * @description: 订单的基本信息
 */
public class Order {

    private Object orderInfo; // 订单的基本信息
    private Integer userId; // 哪个人的订单

    public Order() {
    }

    public Order(Object orderInfo, Integer userId) {
        this.orderInfo = orderInfo;
        this.userId = userId;
    }

    public Object getOrderInfo() {
        return orderInfo;
    }

    public void setOrderInfo(Object orderInfo) {
        this.orderInfo = orderInfo;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }



}
